local Enumerable = require ("linq")
Test = {}
           
local function EqualList(l1, l2)
    for i = 1, #l1 do
        if l1[i] and l2[i] then
            if l1[i] ~= l2[i] then
                return false
            end
        else
            return false
        end
    end
    return true
end


function Test.From()
    local list1 = {1,2,3,4,5,6,7,8,9}
    local list2 = Enumerable.From({1,2,3,4,5,6,7,8,9}):ToList()
    local list3 = Enumerable.From({1,2,3,4,5,6,7,8,9}):ToList()
    assert(EqualList(list1, list2), "Test.From()")
    assert(EqualList(list1, list3), "Test Enumerable()")
end

function Test.Select()

end

function Test.Where()

end

function Test.Foreach()

end

function Test.ToList()

end

return Test